<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="UTF-8">
    <title>材料实时库存</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" th:href="@{/static/console/common/images/favicon.ico}">
    <link rel="stylesheet" type="text/css" th:href="@{/static/console/common/layui/css/layui.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/static/console/datepicker/jquery-datePicker.css}" />
    <link rel="stylesheet" type="text/css" th:href="@{/static/console/css/public.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/static/console/css/material/stock.css}"/>
</head>
<style>

    .addModal .msgBox {width: 100%;height: 100%;left: 10%;bottom: inherit;overflow: auto;}
</style>
<script type="text/javascript" th:src="@{/static/console/assets/js/jquery-3.2.1.min.js}"></script>
<script type="text/javascript" th:src="@{/static/js/echarts.min.js}"></script>

<script th:inline="javascript">
    const inventoryTypeList = [[${inventoryTypeList}]]
</script>
<body>
<!--<input th:value="${menuRole.isDelete}" class="isDelete" style="display: none"/>-->
<!--<input th:value="${menuRole.isUpdate}" class="isUpdate" style="display: none"/>-->
<!--<input th:value="${menuRole.isInsert}" class="isInsert" style="display: none"/>-->
<div class="layui-card">
    <div class="layui-card-body">
        <div class="paramter-title">
            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <div class="layui-input-inline" style="display: none;">
                            <select class="search-origin" lay-filter="search-origin">
                                <option th:value="${org.id}" th:text="${org.originName}" th:each="org:${orgList}"></option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline" style="text-align: center;">
                        <input type="text" readonly class="layui-input search-time" id="search-time" placeholder="请选择库存日期">
                    </div>
                    <a class="layui-btn search-btn" style="background-color:#f0ad4e"><img src="/static/console/img/concat.png" />查询</a>
                </div>
            </form>
        </div>
        <div class="layui-tab layui-tab-card">
            <ul class="layui-tab-title stock-tab-title">
        <!--        <li class="layui-this">图表</li>-->
        <!--        <li>明细</li>-->
            </ul>
            <div class="layui-tab-content stock-content" style="padding: 0;">
        <!--        <div class="layui-tab-item layui-show stock-main">-->
                    <!-- 饼状图 -->
        <!--            <div class="main-i viewimg">-->
        <!--                <div id="main" class="charts-main"></div>-->
        <!--            </div>-->
        <!--        </div>-->
        <!--        <div class="layui-tab-item">-->
        <!--            <table class="layui-table chartList" lay-filter="table01">-->
        <!--                <thead>-->
        <!--                <tr>-->
        <!--                    <th>仓位</th>-->
        <!--                    <th>物料</th>-->
        <!--                    <th>材料</th>-->
        <!--                    <th>库存</th>-->
        <!--                    <th>容量</th>-->
        <!--                    <th>占比</th>-->
        <!--                    <th>仓号</th>-->
        <!--                </tr>-->
        <!--                </thead>-->
        <!--                <tbody class="tableList">-->
        <!--                </tbody>-->
        <!--            </table>-->
        <!--        </div>-->
            </div>
        </div>
    </div>
</div>
<div class="msgModal addModal" id="material-body">
    <div class="msgBox">
        <div class="msgBox-title">
            <h3 style="text-align: left; padding-left: 80px;">仓位数据盘存</h3>
            <a class="close" href="javascript:void(0);"><img src="/static/console/img/close-btn.png" /></a>
        </div>
        <div class="msgBox-con">
            <form class="layui-form" style="width: 100%;">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">仓位编号</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" style="display: none" class="layui-input add-storeId" readonly>
                            <input type="text" class="layui-input add-code" readonly placeholder="仓位编号">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">生产线</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" class="layui-input add-lineName" readonly placeholder="生产线">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">仓位名称</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" class="layui-input add-name" readonly placeholder="仓位名称">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">材料名称</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" class="layui-input add-nameNorms" readonly placeholder="材料名称">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">本期开始时间</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" class="layui-input add-startDate" readonly placeholder="本期开始时间">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">仓位期初值(吨)</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" value="0" class="layui-input add-initial" readonly placeholder="库存期初值">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">仓位购进值</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" value="0" class="layui-input add-netWeight" readonly placeholder="仓位购进值">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">自动消耗值(吨)</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" value="0" class="layui-input add-realExpend" readonly placeholder="自动消耗值">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">手动消耗值(吨)</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" class="layui-input add-dosage" readonly placeholder="手动消耗值">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">仓位类型</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" value="0" class="layui-input add-type" readonly placeholder="仓位类型">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">最大容量(吨)</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" value="0" class="layui-input add-maxCapacity" readonly placeholder="最大容量(吨)">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">盘存类型</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" value="0" class="layui-input add-historyType" readonly placeholder="盘存类型">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">当前库存(吨)</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" value="0" class="layui-input add-storeValue" readonly placeholder="当前库存">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 120px;">更正库存(吨)</label>
                        <div class="layui-input-inline" style="width: 300px;">
                            <input type="text" class="layui-input add-newStoreValue" lay-verify="number" placeholder="请输入更正库存值(吨)">
                        </div>
                    </div>
                </div>
<!--                <div class="layui-form-item layui-form-text">-->
<!--                    <label class="layui-form-label">备注</label>-->
<!--                    <div class="layui-input-block" style="margin-left: 80px;">-->
<!--                        <textarea placeholder="请输入内容" class="layui-textarea remark" style="resize: none;"></textarea>-->
<!--                    </div>-->
<!--                </div>-->
                <div class="layui-form-item store-save-item" style="text-align: center;">
                    <div class="">
                        <a class="layui-btn btn-submit" lay-submit lay-filter="addBtns">保存</a>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" th:src="@{/static/console/common/layui/layui.all.js}"></script>
<script type="text/javascript" th:src="@{/static/console/datepicker/jquery-datePicker.js}"charset="utf-8"></script>
<script type="text/javascript" th:src="@{/static/console/js/pages/base.js}" charset="utf-8"></script>
<script type="text/javascript" th:src="@{/static/console/js/pages/board/stock-v1.js}" charset="utf-8"></script>
</html>